| Version | ID |
|---|---|
| 1.8.X | 0x0E |
| 1.9 | 0x07 |
| 1.12 | 0x08 |
| 1.12.1 | 0x07 |
| 1.13.1 | 0x08 |
| 1.14.4 | 0x09 |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x09 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x09 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x08 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x08 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x08 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1 (different counter for every window ID). Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction (clientbound). | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction. | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction. | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x07 | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction. | |||
| Mode | VarInt Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |
| Packet ID | State | Bound To | Field Name | Field Type | Notes |
|---|---|---|---|---|---|
| 0x0E | Play | Server | Window ID | Unsigned Byte | The ID of the window which was clicked. 0 for player inventory. |
| Slot | Short | The clicked slot number, see below | |||
| Button | Byte | The button used in the click, see below | |||
| Action Number | Short | A unique number for the action, implemented by Notchian as a counter, starting at 1. Used by the server to send back a Confirm Transaction. | |||
| Mode | Byte Enum | Inventory operation mode, see below | |||
| Clicked item | Slot | The clicked slot. Has to be empty (item ID = -1) for drop mode. |